package jp.co.ricoh.melody.models;

import jp.co.ricoh.melody.databases.DBManager;
import jp.co.ricoh.melody.models.entities.AlarmData;

/**
 * Copyright (C) 2016 RICOH Co.,LTD.
 * All rights reserved.
 */
public interface IAddAlarmActivityModel {
    boolean isAlarmChanged(AlarmData oldAlarm, AlarmData newAlarm);

    AlarmData getAlarmById(int id);

    void addAlarm(AlarmData alarm, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    void editAlarm(AlarmData newAlarm, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    boolean validateAlarm(AlarmData alarm);
}
